.
C# Signature:
[DllImport("user32.dll", SetLastError = true)]
static extern IntPtr RegisterDeviceNotification(IntPtr hRecipient,
IntPtr NotificationFilter, uint Flags);
User-Defined Types:
None.
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
This Windows API function can be used to request to be informed when a device (USB) is attacted or removed.
3/16/2007 8:30:24 AM - eggie5-149.63.77.160